package com.wsdcd.zlg.mapper;

import com.wsdcd.zlg.model.entity.Customer;
import com.wsdcd.zlg.util.PageParameter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CustomerMapper {
	void insert(Customer customer);

	void delete(int customerId);

	void update(Customer customer);

	List<Customer> select();

	int getCount();
	
	List<Customer> getPageList(PageParameter page);

	Customer selectByCustomerFullName(String customerFullName);

	Customer selectByCustomerId(String customerId);

	void deleteAll(int[] customerId);
}
